package yh;

/**
 * 赋值运算符
 */
public class AssignmentOperator {
    public static void main(String[] args) {
        int i=1;
        i+=2;
        System.out.println(i);
        i-=1;
        System.out.println(i);
        i*=3;
        System.out.println(i);
        i/=2;
        System.out.println(i);
        i%=2;
        System.out.println(i);
    }
}
